package cn.test.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "用户登录请求对象")
public class LoginReqVo {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户的用户名", required = true)
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "用户的密码", required = true)
    private String password;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "用户输入的验证码")
    private String code;

    /**
     * 保存redis随机码的key，也就是sessionId
     */
    @ApiModelProperty(value = "sessionId", required = true)
    private String sessionId;
}

